package ltd.newbee.mall.service;


import ltd.newbee.mall.util.PageQueryUtil;
import ltd.newbee.mall.util.PageResult;
import ltd.newbee.mall.vo.GoodsReportVO;

import javax.servlet.http.HttpServletResponse;

public interface OrderGoodsReportService {

    /**
     * 获取商品汇总报表（分页）
     */
    GoodsReportVO getGoodsReport(PageQueryUtil pageUtil);

    /**
     * 获取商品订单明细（分页）
     */
    PageResult getGoodsOrderDetails(PageQueryUtil pageUtil);

    /**
     * 导出商品汇总报表
     */
    void exportGoodsReport(HttpServletResponse response, String startTime, String endTime,
                           String billStatus, String refundStatus);


    /**
     * 导出商品订单明细
     */
    void exportGoodsOrderDetails(HttpServletResponse response, Long goodsId, String startTime, String endTime,
                                 String billStatus, String refundStatus,String goodsName);

}
